/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 5/22/18
Time: 10:29 AM
 */

package Cn.Sarkar.Entities.ToJsonEntities


open class JWebServerStatus {
    var databaseInitialized: Boolean = false
    var currentDataBase: CurrentDataBase = CurrentDataBase()

    open class CurrentDataBase {
        var database: String = ""
        var driverClass: String = ""
        var initialPoolSize: Int = 0
        var jdbcUrl: String = ""
        var maxPoolSize: Int = 0
        var minPoolSize: Int = 0
        var password: String = ""
        var userName: String = ""
        var metaData: MetaData = MetaData()

        open class MetaData {
            var driverName: String = ""
            var driverVersion: String = ""
            var productName: String = ""
            var productVersion: String = ""
        }
    }
}